package cn.izeno.wx.core

import org.simpleframework.xml.core.Persister


private val parser: Persister by lazy { Persister() }

fun <T> parseXml(clazz: Class<T>, content: String?): T {
  return parser.read(clazz, content)
}